package com.itheima.sh.service;

import com.github.pagehelper.Page;
import com.itheima.sh.pojo.User;

import java.util.List;

/**
 * @Description:
 * @Version: V1.0
 */
public interface UserService {

    public List<User> findAll();

    public boolean add(User user);

    public boolean delete(Integer uuid);

    public boolean update(User user);

    public Page<User> search(User user,
                             Integer page, Integer size);
}

